import xhr from './index.js'

/**
 * 获取tree账号 
 * @returns {Promise} - 返回一个 Promise 对象，表示登录结果
 */
export async function GetAccounts() {
	try {
		const response = await xhr.get('/bill/accounts/wh'); 
		return response.data;
	} catch (error) {
		throw error
	}
}